#include <iostream>
using namespace std;
int main()
{
 //三元运算符
 int scere1 , scere2;
 cout << "请输入：" << endl;
 cin >>scere1;
 cout << "请输入：" << endl;
 cin >>scere2;
 string result = (scere1 > scere2) ? "没考好打一顿" : "考好了买糖";
//要练






 //运算符
 int a=10;
 int b=++a;//意思是  先加再赋值 ++是+1   --是-1
 cout << "a=" << a << endl;
 cout << "b=" << b << endl;
  
 int c=--a;
 cout << "a=" << a << endl;



    return 0;
}